package com.lean.android.ad.core.reward

import android.view.View
import androidx.annotation.RestrictTo
import com.bytedance.sdk.openadsdk.TTRewardVideoAd
import com.lean.android.ad.core.Ad

@RestrictTo(RestrictTo.Scope.LIBRARY)
class RewardAd(val nativeAd: TTRewardVideoAd, private val reqId: String): Ad {

    override val requestId: String
        get() = reqId

    override val adView: View?
        get() = null

    override fun destroy() {
        nativeAd.mediationManager?.destroy()
    }
}